/* 全局样式：优先显示背景图片 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
body {
  /* 背景图片作为大屏底层背景 */
  background: url("beijing.png") center center no-repeat fixed;
  background-size: cover; /* 确保图片铺满屏幕 */
  color: #FFFFFF; /* 白色文字 */
  padding: 15px;
  height: 100vh;
  box-sizing: border-box;
  background-color: transparent; /* 完全透明 */
}
/* 大屏容器：深粉蓝色发光边框 */
.dashboard {
  width: 100%;
  height: 100%;
  border: 3px solid #4A90E2; /* 深粉蓝色边框 */
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px; /* 模块间距 */
  overflow: hidden;
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.6); /* 发光效果 */
  background-color: rgba(255, 255, 255, 0.1); /* 10%透明度白色背景 */
}
/* 顶部标题区：紧凑布局 */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
}
.top-header .logo {
  font-size: 20px;
  font-weight: 600;
  color: pink;
  text-shadow: 0 0 8px rgba(91, 202, 222, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-header .logo::before {
  content: "🎀";
  font-size: 22px;
}
.top-header h1 {
  font-size: 22px;
  font-weight: 600;
  color: darkorange;//大标题
  text-shadow: 0 0 8px rgba(91, 202, 222, 0.8);
  letter-spacing: 1px;
}
.top-header .time-filter {
  font-size: 14px;
  color: peachpuff;//左上
  text-shadow: 0 0 6px rgba(91, 202, 222, 0.6);
  display: flex;
  gap: 12px;
}
.top-header .time-filter span {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 18px;
  transition: all 0.3s ease;
  background-color: rgba(74, 144, 226, 0.1);
}
.top-header .time-filter span.active {
  background-color: #4A90E2;
  color: white;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.5);
}
/* 核心数据区 上栏*/
.core-data {
  display: flex;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid #4A90E2;
  border-radius: 10px;
  padding: 12px 0;
  height: 110px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(74, 144, 226, 0.4);
}
.core-data .data-item {
  text-align: center;
  width: 30%;
}
.core-data .data-item p:first-child {
  font-size: 15px;
  color: greenyellow;//上栏数据
  text-shadow: 0 0 6px rgba(91, 202, 222, 0.8);
  margin-bottom: 6px;
}
.core-data .big-num {
  font-size: 26px;
  font-weight: 600;
  margin: 2px 0;
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
.core-data .data-item p:last-child {
  font-size: 13px;
  color: #2e7d32;
  text-shadow: 0 0 4px rgba(46, 125, 50, 0.6);
}
/* 主体内容区 */
.main-content {
  display: flex;
  gap: 15px;
  flex: 1;
  overflow: hidden;
}
.left-panel, .right-panel {
  width: 23%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/* 卡片样式（关键修改：透明度改为40%） */
.panel-card {
  background-color: rgba(224, 210, 255, 0.9);/* 原1 → 0.4，即40%透明度 */
  border: 2px solid #4A90E2;
  border-radius: 10px;
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(74, 144, 226, 1);
  min-height: 280px;
}
.panel-card h3 {
  font-size: 17px;
  color: cornflowerblue;
  text-shadow: 0 0 6px rgba(91, 202, 222, 0.8);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid #4A90E2;
  height: 28px;
  line-height: 28px;
}
.chart {
  width: 100%;
  flex: 1;
  min-height: 220px;
  margin-bottom: 10px;
}
/* 分布列表样式 饼图*/
.distribution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 5px 0;
}
.distribution-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color:mediumpurple;//明制
  text-shadow: 0 0 4px rgba(255, 255, 255, 1);
  padding: 5px 10px;
  border-radius: 5px;
}
.color-block {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-right: 10px;
  /* 保留基础阴影，与类内强化阴影叠加 */
  box-shadow: 0 0 6px currentColor;
}
/* 带强化发光效果的颜色类 */
.style1 {
  background-color:darkmagenta;
  color:darkmagenta;
  box-shadow: 0 0 20px 6px rgba(235, 250, 235, 0.4), 0 0 10px 3px rgba(235, 250, 254, 0.7);
} /* 粉紫强发光 */
.style2 {
  background-color: #b3d1ff;
  color: #b3d1ff;
  box-shadow: 0 0 20px 6px rgba(179, 209, 255, 0.9), 0 0 10px 3px rgba(179, 209, 255, 0.7);
} /* 浅紫蓝强发光 */
.style3 {
  background-color: #c8e6c9;
  color: #c8e6c9;
  box-shadow: 0 0 20px 6px rgba(200, 230, 201, 0.9), 0 0 10px 3px rgba(200, 230, 201, 0.7);
} /* 浅绿强发光 */
.style4 {
  background-color: #ffd700;
  color: #ffd700;
  box-shadow: 0 0 20px 6px rgba(255, 215, 0, 0.9), 0 0 10px 3px rgba(255, 215, 0, 0.7);
} /* 浅黄强发光 */
/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  flex: 1;
}
th, td {
  border: 1px solid rgba(74, 144, 226, 0.3);
  padding: 8px 5px;
  text-align: center;
  height: 32px;
}
th {
  background-color: rgba(74, 144, 226, 0.1);
  color: palegreen;
  text-shadow: 0 0 6px rgba(31, 83, 93, 1);
  font-weight: 500;
}
td {
  color: darkorange;//表格文字
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}
tr:hover td {
  background-color: rgba(74, 144, 226, 0.05);
}
/* 地图区域 */
.map-panel {
  flex: 1;
  background-color: transparent;
  border: 2px solid #4A90E2;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(74, 144, 226, 0.4);
  min-height: 550px;
}
/* 底部指标区 */
.bottom-indicators {
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid #4A90E2;
  border-radius: 10px;
  padding: 12px 15px;
  height: 100px;
  box-shadow: 0 3px 10px rgba(74, 144, 226, 0.4);
  align-items: center;
}
.indicator-item {
  text-align: center;
  width: 19%;
}
.icon {
  font-size: 22px;
  margin-bottom: 6px;
  color: #5BC0DE;
  text-shadow: 0 0 8px rgba(91, 202, 222, 0.8);
}
.indicator-item p:first-of-type {
  font-size: 13px;
  color: dodgerblue;
  text-shadow: 0 0 6px rgba(91, 202, 222, 0.6);
  margin-bottom: 3px;
}
.bottom-indicators .big-num {
  font-size: 19px;
  font-weight: 600;
  color: darkmagenta;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
/* 响应式调整 */
@media (max-width: 1680px) {
  .core-data .big-num { font-size: 24px; }
  .bottom-indicators .big-num { font-size: 18px; }
  .chart { min-height: 200px; }
  .panel-card { min-height: 250px; }
  .map-panel { min-height: 500px; }
}
@media (max-width: 1440px) {
  .core-data { height: 100px; }
  .bottom-indicators { height: 90px; }
  .panel-card { min-height: 220px; }
  .chart { min-height: 180px; }
  .map-panel { min-height: 450px; }
}